import router from '@system.router';
export default {
    data: {

    },
    changeGame(event){
        this.Game(event.direction);
    },
    Game(direction){
        if (direction == 'left' || direction == 'right'){
            router.replace({
                uri:'pages/heibaifanqi/heibaifanqi'
            });
        }
    },
    startGame(){
        router.replace({
            uri:'pages/game1/game1'
        });
    }
}
